package com.xiguthings.waka.po.extpo;

import java.util.List;
import java.util.Map;

public class Page {
	private int page;//页码
	private int rows;//每页显示几行
	private int totalCount;//记录的总数
	
	private Map<String,Object> otherData;// 返回的其他参数
	
	private List<?> list;

	public int getPage() {
		if(this.page == 0){
			this.page = 1;
		}
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getRows() {
		if(this.rows == 0){
			this.rows = 10;
		}
		return rows;
	}

	public void setRows(int rows) {
		this.rows = rows;
	}

	public int getTotalCount() {
		return totalCount;
	}

	public void setTotalCount(int totalCount) {
		this.totalCount = totalCount;
	}

	public List<?> getList() {
		return list;
	}

	public void setList(List<?> list) {
		this.list = list;
	}

	public Map<String, Object> getOtherData() {
		return otherData;
	}

	public void setOtherData(Map<String, Object> otherData) {
		this.otherData = otherData;
	}
	
	
	
}
